<?Php
	require_once('Model/getconfig.php');						
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="css/adways.css" rel="stylesheet" type="text/css" />
<script  language="JavaScript" src="businesslist.js"></script>

<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
</style></head>

<body >
	<form method="post" action="search.php">

<div id="header_wrapper">
  <div id="header_top"></div>
  <div id="header_logo"></div>
</div>
<div class="mainpage">
  <div class="what"><span class="mesagebox">What</span>
    <div class="fieldbox"><span class="smallbox_wherecombo">
      <select class="required" name="cmbTypeofbusiness" id="cmbTypeofbusiness"  onchange="subbusinesscheck(this.value)"  style="height:25px;" >
        <option value="">Type of Business</option>
        <?Php
	$arrMenu=Model_typeofbusiness::get_Typeofbusiness();
	foreach($arrMenu as $objMenu){ 
		//$cCode=$objMenu->getFixedcode(); 
		$Typeofbusiness=$objMenu->getTypeofbusiness(); 

		
?>
        <option value="<?Php echo $Typeofbusiness ?>" ><?Php echo $Typeofbusiness ?></option>
        <?php		
		

	}
							
?>
      </select>
    </span></div><div class="fieldbox">
      <div class="fieldbox">
        <div id="branch">
        <select class="required" name="cmbBusinesssublist" id="cmbBusinesssublist"  style="height:25px;">
          <option value="">Select your field</option>
        </select>
      </div>
      </div>
    </div>
  </div>
  <div class="where"><span class="mesagebox">Where</span>
    <div class="fieldbox">
      <select class="required" name="cmbcontState" id="cmbcontState" style="height:25px;" >
        <option value="">Select State</option>
        <?Php
	$arrMenu=Model_fixedcode::get_Fixedcode('STAT');
	foreach($arrMenu as $objMenu){ 
	//	$cCode=$objMenu->getFixedcode(); 
		$cCodeDesc=$objMenu->getCodedesc(); 

		
?>
        <option value="<?Php echo $cCodeDesc; ?>" ><?Php echo $cCodeDesc; ?></option>
        <?php		
		

	}
							
?>
      </select>
    </div>
    <div class="fieldbox">
      <select class="required" name="cmbDist" id="cmbDist" style="height:25px;"  >
        <option value="">Select District</option>
        <?Php
	$arrMenu=Model_fixedcode::get_Fixedcode('DIST');
	foreach($arrMenu as $objMenu){ 
	//	$cCode=$objMenu->getFixedcode(); 
		$cCodeDesc=$objMenu->getCodedesc(); 

		
?>
        <option value="<?Php echo $cCodeDesc; ?>" ><?Php echo $cCodeDesc; ?></option>
        <?php		
		

	}
							
?>
      </select>
    </div>
  </div>
  <div class="indexbutton"><br />
    <input type="submit" name="button" id="button" value="Submit" />
  </div>
</div>
</form>
</body>
</html>
